package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.Physicalassessmentresult;
import com.zj.healthmanage.mapper.PhysicalassessmentresultMapper;
import com.zj.healthmanage.service.PhysicalassessmentresultService;
@Service
public class PhysicalassessmentresultServiceImpl implements PhysicalassessmentresultService{

    @Resource
    private PhysicalassessmentresultMapper physicalassessmentresultMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return physicalassessmentresultMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Physicalassessmentresult record) {
        return physicalassessmentresultMapper.insert(record);
    }

    @Override
    public int insertSelective(Physicalassessmentresult record) {
        return physicalassessmentresultMapper.insertSelective(record);
    }

    @Override
    public Physicalassessmentresult selectByPrimaryKey(Integer id) {
        return physicalassessmentresultMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Physicalassessmentresult record) {
        return physicalassessmentresultMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Physicalassessmentresult record) {
        return physicalassessmentresultMapper.updateByPrimaryKey(record);
    }

}
